﻿#include "MyFrame.h"


MyFrame::MyFrame(const wxString& title)
    : wxFrame(NULL, wxID_ANY, title, wxDefaultPosition, wxSize(1200, 742))
{
    m_parent = new wxPanel(this, wxID_ANY);

    wxBoxSizer* hbox = new wxBoxSizer(wxHORIZONTAL);

    m_mu = new Menu(m_parent);
    m_br = new Board(m_parent);

    hbox->Add(m_mu, 1, wxEXPAND | wxALL, 5);
    hbox->Add(m_br, 1, wxEXPAND | wxALL, 5);

    m_parent->SetSizer(hbox);

    this->Centre();
}